package com.atguigu.mapper;

import com.atguigu.bean.Dept;
import org.apache.ibatis.annotations.Param;

/**
 * @author wk
 * @create 2021-05-30 19:06
 */
public interface DeptMapper {

    /**
     * 根据did查询dept和emp信息
     * @param did
     * @return
     */
    Dept getEmpDeptByDid(@Param("did")Integer did);

    /**
     * 分布查询第一步
     * @param did
     * @return
     */
    Dept getEmpDeptByStep(@Param("did")Integer did);
}
